]> dgit.raspbian.org Git - gnome-shell.git/commit
build: Define test dependencies
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 11 Sep 2025 11:29:31 +0000 (13:29 +0200)
committerMarge Bot <marge-bot@gnome.org>
Thu, 11 Sep 2025 16:18:25 +0000 (16:18 +0000)
commite014efcab228812ef0751e4706d648c19add1ab1
tree490afe11ea69a8d48ea20c8916e512ce99e85047
parent89b571e3cbcaa82e79274339dd015cd8c46d6fce
build: Define test dependencies

Ideally meson tests should just work without any pre-requisite build,
instead, we only need a configured build folder to work, but this does
not go as expected in gnome shell at the moment.

Since tests require generated files and compiled typelibs they don't
depend on, so just using `meson test -C build <test-name>` does not work
as expected.

So add test dependencies on test cases. We do not need to have per-test
dependencies right now since most of them share just the same
requirements, and this makes it easier to maintain

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3869>
data/meson.build
src/meson.build
src/st/meson.build
tests/meson.build